<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Clerk.jsp' starting page</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="js/new_file.js" charset="GBK"></script>
	<script type="text/javascript" src="js/ajaxUtil.js" charset="GBK"></script>
	<script type="text/javascript" src="js/Clerk.js" charset="GBK"></script>
	<style type="text/css">
		.tablelist thead tr th{
			text-align: center;
			font-size:15px;
			
		}
		.tablelist tr td{
			text-align: center;
		}
		input[type=checkbox]{
			position: relative;
			left: 10px;
		}
		
		input[type=button]{
			margin-right: 10px;
		}
	</style>
  </head>
  
  <body>
  <input type="hidden" name="clerk" value="${clerk.cno}" class="cno"/>
	<div class="place">
    <span>位置：</span>
	    <ul class="placeul">
		    <li><a href="javascript:void(0)">首页</a></li>
		    <li><a href="javascript:void(0)">顾客管理</a></li>
		    <li><a href="javascript:void(0)">顾客管理</a></li>
	    </ul>
    </div>
    <!-------------------------------添加操作------------------------------------------>
		<div id="topper"  style="text-align: center;">
			<span style="font-size:30px;font-weight: bold;">添加顾客</span>
			<table cellpadding="1px" cellspacing="0px" class="tablelist">
				<thead>
					<tr>
						<th width="50px">姓名</th>
						<th width="100px">性别 </th>
						<th width="50px">年龄</th>
						<th width="100px">地址</th>
						<th width="100px">电话</th>
						<th width="100px">症状</th>
						<th width="50px">药品(编号)</th>
						<th width="50px">药品数量</th>
						<th width="200px">备注</th>
					</tr>
				</thead>
				<tr height="100px">
					<td >
						<input type="text" name="cname"  id="cname" value=""  style="padding-left: 5px"/>
					</td>
					<td >
						男<input type="radio" name="csex"  value="1" checked="checked"/>
						&nbsp;&nbsp;
						女<input type="radio" name="csex"  value="2" />
					</td>
					<td >
						<input type="text" name="cage" id="cage" value="" style="width: 50px;padding-left: 5px;margin-right:5px;"/>
					</td>
					<td >
						<textarea rows="5" cols="15" name="caddress" id="caddress" style="resize: none; padding: 5px;margin-top:10px;"></textarea>
					</td>
					<td >
						<input type="text" name="cphone" id="cphone" value="" style="width: 100px;padding-left: 5px;margin-right:5px;"/>
					</td>
					<td >
						<textarea rows="5" cols="15" name="csymptom" id="csymptom" style="resize: none; padding: 5px;margin-top:10px;"></textarea>
					</td>
					<td >
						<input type="text" name="mno" id="mno" value="" style="width: 50px;padding-left: 5px;margin-right:5px;"/>
					</td>
					<td >
						<input type="text" name="mnum" id="mnum" value="" style="width: 50px;padding-left: 5px;margin-right:5px;"/>
					</td>
					<td >
						<textarea rows="5" cols="20" name="cremark" id="cremark" style="resize: none; padding: 5px;margin-top:10px;"></textarea>
					</td>
				</tr>
			</table>
		</div>
		<br>
	<!-------------------------------功能操作------------------------------------------>
		<div id="mainner" align="center">
			<input type="button" class="InsertMedicine" style="width:70px;" value="新增顾客"/>
			 &nbsp;&nbsp;&nbsp;&nbsp;
			<input type="button" class="SelectClient" name="" id="" value="获取顾客信息"  style="width:100px;" />
		</div>
		<br>
	<!-------------------------------修改查看操作------------------------------------------>
	<div id="bottomer" style="height:300px;overflow:scroll; overflow-x:hidden;">
		<table class="tablelist" cellpadding="0px" cellspacing="0px" id="ta" > 
		
		</table>
	</div>
	<div align="center" style="margin-top: 20px">
		<input type="button" name="" id="" value="删除顾客" style="width:60px;" onclick="chooseDel()"/>
	</div>
  </body>
</html>
